/**
 * 
 */
package edu.hsbremen.teamscore.events;

import android.app.Activity;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import edu.hsbremen.teamscore.R;

/**
 * @author basster
 *
 */
public class SoccerBreakObserver implements TimerObserver {
	
	private long _millisWhenShouldHappen;
	private Activity _parentActivity;
	
	public SoccerBreakObserver(long millisWhenShouldHappen, Activity parent) {
		this._millisWhenShouldHappen = millisWhenShouldHappen;
	}

	/* (non-Javadoc)
	 * @see edu.hsbremen.teamscore.events.TimerObserver#update()
	 */
	@Override
	public void update() {
		Log.d("SoccerbreakObserver", "PAUSE!");
	}

	@Override
	public long getMillisWhenShouldHappen() {
		
		return this._millisWhenShouldHappen;
	}
	
	public Activity getActivity() {
		return this._parentActivity;
	}

}
